﻿* {/* for demo only*/
    margin:0;
    padding:0
}
html, body {
    height:100%;/* needed to base 100% height on something known*/
    text-align:center;
    color: #696969;   
    font-family: sans-serif, Arial, Helvetica, Verdana;     
    font-size: 0.9em;
}
#outer 
{
    width:1000px;
    background:#dedaae;
    margin:auto;
    min-height:100%;
    margin-top:-80px;/*footer height - this drags the outer 40px up through the top of the monitor */
    text-align:left;
    clear:both;
}
* html #outer 
{
    height:100%
}
#header 
{
    background:#FFFFFF url('images/header-bgr.png') bottom left no-repeat;
    border-top:80px solid #fff; /* soak up negative margin and allows header to start at top of page*/
    padding-top: 25px;
    height: 95px;
}
#header img
{
    margin: 5px;
    margin-left: 5px;
}
#right
{
    padding-top: 105px;
    width: 200px;
    float: right;
}
#content
{
    width: 800px;
}
#footer 
{/* footer now sits at bottom of window*/
    background:#f0edce;
    width:1000px;
    margin:auto;
    height:80px;/* must match negative margin of #outer */
    clear:both;
}
/*Opera Fix*/
body:before 
{/* thanks to Maleika (Kohoutec)*/
    content:"";
    height:100%;
    float:left;
    width:0;
    margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}
h1, h2, p 
{
    padding:0 10px;
    color: #565656;
}
h2
{
    text-align: center;
}
.static p {
    font-family: sans-serif, Arial, Helvetica, Verdana;     
    font-size: 1.1em;
    line-height: 1.1em;
}
#outer:after 
{/* thank you Erik J - instead of using display table for ie8*/
    clear:both;
    display:block;
    height:1%;
    content:" ";
}
/* ADMIN PANEL
------------------------------------------------------------*/
#admin.visible
{
    position: fixed;
    background: #dedede;
    top: 100px;
    left: 0px;
    width: 120px;
}
#admin.hidden
{
    position: fixed;
    background: #dedede;
    top: 100px;
    left: -120px;
    width: 120px;
}
#admin ul li
{
    padding: 5px;    
}
.admin-parameters
{
    background: #EDEDED; 
    padding: 5px;    
}
/* MAIN PAGE CATEGORIES
------------------------------------------------------------------*/
.PageMenuItemHolder
{
    margin-left: 20px;
}
.PageMenuItem
{
    float:left;
    margin: 20px;
    background: white;
    width: 210px;
    height: 210px;
    background-position: center;
    border: 1px solid lightgray;
    cursor: pointer;
}
.PageMenuItem div.header
{
    text-align: center;
    font-size: 1em;
    display: block;
    position: absolute;
    color: #37663D;
    text-shadow: 3px 3px 3px white;
    font-weight: bolder;
    width: 210px;
    height: 19px;
    margin: 191px 0px 0px 0px;
    background-image: url('images/category-button-bgr.png');
    background-repeat: repeat-x;
   
}
.PageMenuItem:hover
{
    float:left;
    margin: 20px;
    text-decoration: underline;
    border: 1px solid gray;
}
/*---------------------------- Links -------------------------------------*/
a:link, a:visited
{
    color: #565656;
}

a:hover
{
    color: #565656;
    text-decoration: none;
}

a:active
{
    color: #565656;
}

p
{
    padding: 5px;
    line-height: 1em;
    color: #565656;
}
/* LEFT BLOCKS
-------------------------------------------------------------------*/
.block
{
    background: #FFF url('images/rightcolumn-bgr.png') top repeat-x;
    margin: 5px;
    border: 1px solid #000; 
}

.block.order, .block.order a 
{
    background: green;
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
}

.block img
{
    border: 1px solid #FFF;    
}
.block a, .block
{
   max-width: 250px;
   vertical-align: top;
   border: none;
}
.block .header
{
    font-weight: bold;
    text-align: center;
    color: #5a5a5a;
    font-weight: bold;
    font-size: 0.8em;
    padding: 5px 10px 10px 10px;
    background-repeat: repeat-x;
}
.clickable
{
    cursor: pointer;
    padding: 0px !important;
    margin: 0px !important;
}
.block .body
{
    text-align: center;
    padding: 5px 0px 5px 0px
}

.block .body div
{
    padding: 5px 5px 0px 5px;
    text-align: center;
    vertical-align: top;
}
.block .body div.text
{
    padding: 5px 5px 0px 5px;
    text-align: left;
    vertical-align: top;
}
/* VALIDATION
-------------------------------------------------------------------*/
.validation
{
    color: red;
}
.validation-summary-errors
{
	list-style: none;
    margin: 5px;
    padding: 5px;
    background: red;
}
.validation-summary-errors ul
{
    list-style: none;
    color: white;
    font-weight: bold;
}
.text-box.single-line.input-validation-error
{
    border: 1px solid red;
    background: rgb(255, 244, 244);
}
/* DETAILS
-------------------------------------------------------------------*/
.details
{
    margin-left: 5px;
    background: #FFFFFF url('images/details-bgr.png') bottom repeat-x;
}
.details-header
{
    margin: 5px 0px 5px 0px;
    color: #696969;
    font-size: 1em;
    font-weight: bold;    
}

.details h2
{
    padding: 5px;
    color: #696969;
}

.details-addtocart
{
    width: 210px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 5px;
    text-align: left;
    vertical-align: middle;
    color: white;
}
.details-addtocart img
{
    vertical-align: bottom;
}
/* CONTROLS
-------------------------------------------------------------------*/
.details-availability,.details-action, .details-cart
{
    padding: 10px;
    margin-bottom: 5px;   
    text-align: center;
    background-color: #F1F1F1;
}
.details-availability-absent, .details-cart-added
{
    padding: 10px;
    margin-bottom: 5px;     
    color: #999999 !important; 
    text-align: center;
    background: #e1e1e1 !important;
    border: 1px solid #d5d2d2 !important;
}
.details-cart, .details-cart a
{
    background: #509e4b !important;
    color: #FFF !important;
}
.details-action
{
    background: #FFBF77 url('images/action-bgr.png') !important;
}
.details-action div.header, .details-availability-absent div.header, .details-availability div.header
{
    text-align: center;
    font-weight: bold;
}
.details-action div.header
{
    color: white;
}
.message
{
    padding: 10px;
    margin: 5px;
}
.editor-label
{
    padding: 5px;
}
.editor-field input
{
    padding: 5px;
}
.article
{
  background: #fafafa url('images/details-bgr.png');    
  float: left; 
  width: 235px;
  height: 180px;
  padding: 10px;
  margin: 5px;
}

.article-full, .panel
{
  background: #FFFFFF url('images/details-bgr.png') bottom repeat-x;    
  padding: 10px;
  margin-left: 5px;
  margin-bottom: 5px;
}

.article div.header
{
    padding-bottom: 5px;
}
.articles h2
{
    padding: 5px;
    color: #696969;    
}
.action
{
   background-image: url('images/action-bgr.png');
   background-position: bottom;
   padding: 5px;
   color: #FFF;
   font-weight: bold;
}
.action div.header
{
   color: #FFF;
   font-weight: bold;
   text-align: center;
   color: #3a7f2c;
}
.display-label
{
    font-weight: bold;
}
.price
{
    font-size: xx-large;
    color: green;
    font-weight: bold;
}
.old-price
{
    font-size: medium;
    text-decoration: line-through; 
    color: Red;
    font-weight: bold;
}

.roundedTable
{
    border: solid 1px #999999;
    margin-bottom: 5px;
    margin-left: 5px;
}
table
{
    text-align: left;
    border-spacing: 0px;
    width: 100%;
    vertical-align: middle;

}
.productsTable
{
    background: #FAFAFA;
    border-collapse: collapse;
}
.products-table-div
{
    width: 3px !important; 
    height: 25px !important; 
    padding: 0px !important; 
    margin: 0px !important;
    background: #928c58 url('images/menu-item-devider.png') no-repeat !important;
}
.products-name
{
    max-width: 200px;
    width: 200px;
}
.productsTable th
{
	color: #474322;
	text-shadow: 1px 1px 1px #c8c39f;
    font-weight: bold;
    font-size: 0.8em;
    padding: 5px 10px 10px 10px;
    background: #928c58 url('images/menu-bgr.png') top repeat-x;
    text-align: left;
    border-spacing: 0px;
    border-collapse: collapse;
}
.productsTable th a
{
    text-decoration: none;
    color: #474322;
}
.productsTable tr:hover
{
    background-color: #f1efef;
}

.productsTable td
{
    color: #666666;
    font-weight: normal;
    border-bottom: solid 1px #e3e1e1;
    vertical-align: middle;
}
.order-table, .order-table th
{
    text-align: left;
}
.order-table tr td
{
    vertical-align: middle;
    padding: 3px;
}

.table-price
{
    font-size: 0.9em;
    color: darkgreen;
    font-weight: bold;
}
.galery-price
{
    font-size: 1.5em;
    color: darkgreen;
    font-weight: bold;
}
table tr
{
    vertical-align: top;    
}
fieldset
{   
    margin-left: 5px;
    border: 1px solid #7292BB;
}
fieldset legend
{
    padding: 5px;
}
.navigateButton
{
    padding: 5px;
    text-align: center;
}
/*   Table   */
.table
{
    display: block;
    width: 100%;    
}
.tableRow
{
    width: 100%;
}
.tableCell
{
  float: left;
  padding-left: 2px;      
}
.clearfix 
{
  display: inline-block;
}
.panel div.header
{
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.multi-line
{
     height:10em; 
     width: 100%;
}
ul.list
{
    margin-left: 20px;
}
img, a img
{
    border: none;
    text-decoration: none;
    padding: 0px;
}
hr
{
    color:#474322; /*для IE*/
	background-color:#474322; /*для нормальных браузеров*/    
    width: 100%;
	border:none;
	height:1px;
	clear:both;
}
/* ACTION BLOCK
---------------------------------------------------------------*/
.scrollable
{
    height: 350px;
    overflow: hidden;
}
.action-image img
{
    max-width: 150px;
    max-height: 150px;
    border: 0px;
}
.action-image-bage 
{
	Z-INDEX: 0; 
	POSITION: relative; 
	MARGIN: 0px auto -50px; 
	WIDTH: 86px; 
	DISPLAY: block; 
	HEIGHT: 50px; 
	TOP: 0px; 
	CURSOR: pointer;
    LEFT: -50px;
    padding: 0px;
	
}
.action-item
{
    text-decoration: none;
    padding: 0px;
}
.action-item-link
{
    text-decoration: none;
}
.action-item:hover
{
    background-color: #dedaae;
}
.action-link-title
{
    text-decoration: underline;
    padding: 0px;
}
.action-image-bage-text 
{
	Z-INDEX: 0; 
	POSITION: relative; 
	MARGIN: 0px auto -50px; 
	WIDTH: 50px; 
	DISPLAY: block; 
	HEIGHT: 50px; 
	TOP: 12px; 
	CURSOR: pointer;
    LEFT: -50px;    
    width: 70px;
    color: white;
    font-size: 11px;
    font-weight: bold;
}
/* LOADER
----------------------------------------------------------------*/
#Loader
{
   display: none;
   position: fixed;
   background: #EDEDED;
   top: 45%;
   left: 45%; 
   border: 1px solid gray;
   padding: 15px;
   z-index: 100;   
}
/* IMAGES
----------------------------------------------------------------*/
.icon-small
{
    margin-left: 5px;    
    max-width: 12px;
    width: 12px;
}
.x-small-image
{
    margin-left: 5px;    
    max-width: 30px;
    max-height: 30px;
    width: 30px;
}
.small-image
{
    margin: 5px;    
    max-width: 100px;
    width: 100px;
    border: 1px solid white;
}
.small-image:hover
{
    max-width: 100px;
    width: 100px;
    border: 1px solid gray;
}
.galery-image
{
    margin: 5px;    
    max-width: 100px;
    max-height: 100px;
    width: 100px;
}

.medium-image
{
    margin: 5px;    
    max-width: 200px;
    width: 200px;
}

.float-image
{
    float: left;
    margin: 5px;
    border: 1px solid white;
}
/* INPUTS STYLES 
----------------------------------------------------------------*/

input.text, .text input, textarea.text, .text-box.single-line
{
    border: 1px solid #cfdbe6;
    background-color: #FFFFFF;
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}
.wide, div.wide .text-box.single-line, div.wide select, div.wide input[type=file]
{
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

input[disabled], .text-box.single-line[disabled]
{
 background-color: #f1f1f1;
} 

input.text:hover,.text input:hover, textarea.text:hover
{
    border: 1px solid #7292BB;
    font-size: 1em;
    padding: 4px;
}
input.button
{
    border: 1px solid #cfdbe6;
    font-size: 1em;
    padding: 3px;
}
input.button:hover
{
    border: 1px solid #7292BB;
    font-size: 1em;
    padding: 3px;
}

select
{
    border: 1px solid #cfdbe6;
    font-size: 1em;
    padding: 3px;
    margin-bottom: 5px;
    max-width: 300px;
}
select:hover
{
    border: 1px solid #7292BB;
    font-size: 1em;
    padding: 3px;
}
select.ListBox
{
    border: 1px solid #cfdbe6;
    background: none;
    font-size: 1em;
    padding: 3px;
    margin-bottom: 5px;
}
select.ListBox:hover
{
    border: 1px solid #7292BB;
    background: none;
    font-size: 1em;
    padding: 3px;
}

.checkbox input 
{
    border: 1px solid #cfdbe6;
    font-size: 1em;
    margin: 3px;
}
.checkbox input:hover
{
    border: 1px solid #7292BB;
    font-size: 1em;
    margin: 3px;
}
.field-validation-error
{
    color: red;
}
/* RICH EDITOR
----------------------------------------------------------------------------*/
 .text-box.multi-line
 {
     width: 100%;
 }
 
 .non-complated-order
{
    background-color: rgb(253, 160, 160);
}
.non-complated-order:hover
{
    background-color: rgb(248, 139, 139) !important;
}


/* GALERY
---------------------------------------------------------------------------*/
.galery-item
{
  background: #fafafa url('images/details-bgr.png');    
  float: left; 
  width: 235px;
  height: 180px;
  padding: 10px;
  margin: 5px;
}
.galery-item a
{
    text-decoration: underline;
    font-weight: bold;
    color: lightslategrey;
    
}
.galery-item img
{
  float: left;
  
}

/* CHANGE VIEW
----------------------------------------------------------------------------*/
.change-view
{
    display: inline-block;
    width: 100%; 
}
.change-view a.show-gallery {
    float:left;
    height:24px;
    width:24px;
    display:block;
    background:url('images/change-view.png') -24px 0;
    text-indent:-9999px;
    overflow:hidden;
}
.change-view a.show-list {
    float:left;
    height:24px;
    width:24px;
    display:block;
    background:url('images/change-view.png') 0 0;
    text-indent:-9999px;
    overflow:hidden;
}
.change-view a.show-list:hover,
.change-view a.show-list.active { background:url('images/change-view.png') 0 -24px; }

.change-view a.show-gallery:hover,
.change-view a.show-gallery.active { background:url('images/change-view.png') -24px -24px; }